package cn.neusoft.enums;

public enum ScheduleStrategy
{
    MANUAL(0, "手动调度"),
    AUTO_BY_DISTANCE(1, "自动调度--距离优先"),
    AUTO_BY_DURATION(2, "自动调度--耗时优先");

    private final Integer code;
    private final String message;

    ScheduleStrategy(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getMessage()
    {
        return message;
    }
}
